package com.wind.taobao.core.webservice
{

	/**
	 * 淘宝集合返回
	 * @author fxy
	 *
	 */
	public class TaobaoListResponse extends TaobaoResponse
	{
		/**
		 * 总记录数
		 */
		[Bindable]
		public var totalResults:int;

		public function TaobaoListResponse(response:TaobaoResponse=null)
		{
			super(response);
			initTotalResults();
		}

		private function initTotalResults():void
		{
			if (body != null && this.isSuccess)
			{
				if (body["rsp"].hasOwnProperty("totalResults"))
				{
					totalResults=body["rsp"]["totalResults"];
				}
			}
		}

	}
}